Valid for Sitecore
5.3.1
Installation Guide
Follow the steps below to install the module:
- The Sitecore External Link Checker module is distributed as a standard Sitecore package; hence in order to start using it, you should install the package. Please, refer to the Installing Modules and Packages article if you are not familiar with the Sitecore standard Packager tool.
- Add the following code to web.config:
- Under configuration/sitecore/controlSources:
<source mode="on" namespace="Sitecore.Web.UI.XmlControls" folder="/sitecore modules/ExternalLinkChecker/Pages/" deep="true" />
- Under configuration/events/event name="item:saved":
<handler type="Sitecore.Modules.ExternalLinkChecker.Business.ItemEventHandler, Sitecore.ExternalLinkChecker" method="OnItemSaved" />
- Under configuration/events/event name="item:saving"
<handler type="Sitecore.Modules.ExternalLinkChecker.Business.ItemEventHandler, Sitecore.ExternalLinkChecker" method="OnItemSaving" />
- Optional. Some web servers do not fully respect the standards they are meant to. Applications running on the .NET framework and making heavy use of http requests usually use the httpWebRequest class, which encapsulates everything a web oriented developer could dream of. With all the recent issues related to security, the httpWebRequest class provides a self protection mechanism preventing it from accepting HTTP answers which not fully qualify to the specifications.
So, External Link checker will a show link to a site with incorrect HTTP answers as a broken link. To disable the self protection in httpWebRequest class, you can set the following section in the web.config file:<configuration>
…
<system.net>
<settings>
<httpWebRequest useUnsafeHeaderParsing="true" />
</settings>
</system.net>
…
</configuration>